/*
 * This file is part of Shopping Lists Organizer software
 *
 * Copyright (C) 2011 Denis Kvita <dkvita@gmail.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
 */

#ifndef LISTIMPORTDLG_H
#define LISTIMPORTDLG_H

#include <QDialog>
#include <QDate>

class QLabel;
class QLineEdit;
class QDateEdit;
class QComboBox;
class QString;

class listImportDlg : public QDialog
{
	Q_OBJECT
public:
	QComboBox *answer, *mergeDetail;
	QLineEdit *newTitle;
	QDateEdit *newDate;
	explicit listImportDlg(QString listTitle, QDate listDate, QWidget *parent = 0);

signals:

public slots:
	virtual void accept();
	void onAnswer(int idx);
	void onMergeDetail(int idx);

protected:
	QLabel *question, *mergeQuestion, *newTitleL, *newDateL;
	QString title;
	QDate date;
};

#endif // LISTIMPORTDLG_H
